package com.huijinhui.wlmtsys.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 雇员信息表实体类
 */
@Data
@TableName("employ")
public class Employ implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @Schema(title = "雇员ID", description = "雇员信息表的唯一标识")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 职位名称
     */
    @Schema(title = "职位名称", description = "职位的名称")
    @TableField("title")
    private String title;

    /**
     * 工作内容
     */
    @Schema(title = "工作内容", description = "职位需要完成的工作内容")
    @TableField("work")
    private String work;

    /**
     * 职位要求
     */
    @Schema(title = "职位要求", description = "职位对应聘者的要求")
    @TableField("requirement")
    private String requirement;

    /**
     * 标签
     */
    @Schema(title = "标签", description = "1为大一，2为大二，3为大三")
    @TableField("label")
    private Integer label;

    @Schema(title = "createTime",description = "创建时间",required = false)
    @TableField("create_time")
    private LocalDateTime createTime;

    @Schema(title = "description",description = "描述",required = false)
    @TableField("description")
    private  String description;
    // Lombok的@Data注解已经包含了getter和setter方法
}